﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200073B RID: 1851
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetMapRotationDataScRsp : IMessage<GetMapRotationDataScRsp>, IMessage, IEquatable<GetMapRotationDataScRsp>, IDeepCloneable<GetMapRotationDataScRsp>, IBufferMessage
	{
		// Token: 0x170017A9 RID: 6057
		// (get) Token: 0x06005333 RID: 21299 RVA: 0x000E13F9 File Offset: 0x000DF5F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetMapRotationDataScRsp> Parser
		{
			get
			{
				return GetMapRotationDataScRsp._parser;
			}
		}

		// Token: 0x170017AA RID: 6058
		// (get) Token: 0x06005334 RID: 21300 RVA: 0x000E1400 File Offset: 0x000DF600
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetMapRotationDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170017AB RID: 6059
		// (get) Token: 0x06005335 RID: 21301 RVA: 0x000E1412 File Offset: 0x000DF612
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetMapRotationDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005336 RID: 21302 RVA: 0x000E1419 File Offset: 0x000DF619
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMapRotationDataScRsp()
		{
		}

		// Token: 0x06005337 RID: 21303 RVA: 0x000E1438 File Offset: 0x000DF638
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMapRotationDataScRsp(GetMapRotationDataScRsp other) : this()
		{
			this.jOBJHNJJNDI_ = other.jOBJHNJJNDI_;
			this.fPHPEJPOBGJ_ = other.fPHPEJPOBGJ_;
			this.rotaterDataList_ = other.rotaterDataList_.Clone();
			this.rogueMap_ = ((other.rogueMap_ != null) ? other.rogueMap_.Clone() : null);
			this.lGCHOINHLDJ_ = other.lGCHOINHLDJ_;
			this.energyInfo_ = ((other.energyInfo_ != null) ? other.energyInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this.chargerInfo_ = other.chargerInfo_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005338 RID: 21304 RVA: 0x000E14E6 File Offset: 0x000DF6E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMapRotationDataScRsp Clone()
		{
			return new GetMapRotationDataScRsp(this);
		}

		// Token: 0x170017AC RID: 6060
		// (get) Token: 0x06005339 RID: 21305 RVA: 0x000E14EE File Offset: 0x000DF6EE
		// (set) Token: 0x0600533A RID: 21306 RVA: 0x000E14F6 File Offset: 0x000DF6F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool JOBJHNJJNDI
		{
			get
			{
				return this.jOBJHNJJNDI_;
			}
			set
			{
				this.jOBJHNJJNDI_ = value;
			}
		}

		// Token: 0x170017AD RID: 6061
		// (get) Token: 0x0600533B RID: 21307 RVA: 0x000E14FF File Offset: 0x000DF6FF
		// (set) Token: 0x0600533C RID: 21308 RVA: 0x000E1507 File Offset: 0x000DF707
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FPHPEJPOBGJ
		{
			get
			{
				return this.fPHPEJPOBGJ_;
			}
			set
			{
				this.fPHPEJPOBGJ_ = value;
			}
		}

		// Token: 0x170017AE RID: 6062
		// (get) Token: 0x0600533D RID: 21309 RVA: 0x000E1510 File Offset: 0x000DF710
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RotaterData> RotaterDataList
		{
			get
			{
				return this.rotaterDataList_;
			}
		}

		// Token: 0x170017AF RID: 6063
		// (get) Token: 0x0600533E RID: 21310 RVA: 0x000E1518 File Offset: 0x000DF718
		// (set) Token: 0x0600533F RID: 21311 RVA: 0x000E1520 File Offset: 0x000DF720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NewMapRot RogueMap
		{
			get
			{
				return this.rogueMap_;
			}
			set
			{
				this.rogueMap_ = value;
			}
		}

		// Token: 0x170017B0 RID: 6064
		// (get) Token: 0x06005340 RID: 21312 RVA: 0x000E1529 File Offset: 0x000DF729
		// (set) Token: 0x06005341 RID: 21313 RVA: 0x000E1531 File Offset: 0x000DF731
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int LGCHOINHLDJ
		{
			get
			{
				return this.lGCHOINHLDJ_;
			}
			set
			{
				this.lGCHOINHLDJ_ = value;
			}
		}

		// Token: 0x170017B1 RID: 6065
		// (get) Token: 0x06005342 RID: 21314 RVA: 0x000E153A File Offset: 0x000DF73A
		// (set) Token: 0x06005343 RID: 21315 RVA: 0x000E1542 File Offset: 0x000DF742
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotaterEnergyInfo EnergyInfo
		{
			get
			{
				return this.energyInfo_;
			}
			set
			{
				this.energyInfo_ = value;
			}
		}

		// Token: 0x170017B2 RID: 6066
		// (get) Token: 0x06005344 RID: 21316 RVA: 0x000E154B File Offset: 0x000DF74B
		// (set) Token: 0x06005345 RID: 21317 RVA: 0x000E1553 File Offset: 0x000DF753
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170017B3 RID: 6067
		// (get) Token: 0x06005346 RID: 21318 RVA: 0x000E155C File Offset: 0x000DF75C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ChargerInfo> ChargerInfo
		{
			get
			{
				return this.chargerInfo_;
			}
		}

		// Token: 0x06005347 RID: 21319 RVA: 0x000E1564 File Offset: 0x000DF764
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetMapRotationDataScRsp);
		}

		// Token: 0x06005348 RID: 21320 RVA: 0x000E1574 File Offset: 0x000DF774
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetMapRotationDataScRsp other)
		{
			return other != null && (other == this || (this.JOBJHNJJNDI == other.JOBJHNJJNDI && this.FPHPEJPOBGJ == other.FPHPEJPOBGJ && this.rotaterDataList_.Equals(other.rotaterDataList_) && object.Equals(this.RogueMap, other.RogueMap) && this.LGCHOINHLDJ == other.LGCHOINHLDJ && object.Equals(this.EnergyInfo, other.EnergyInfo) && this.Retcode == other.Retcode && this.chargerInfo_.Equals(other.chargerInfo_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005349 RID: 21321 RVA: 0x000E1634 File Offset: 0x000DF834
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.JOBJHNJJNDI)
			{
				num ^= this.JOBJHNJJNDI.GetHashCode();
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				num ^= this.FPHPEJPOBGJ.GetHashCode();
			}
			num ^= this.rotaterDataList_.GetHashCode();
			if (this.rogueMap_ != null)
			{
				num ^= this.RogueMap.GetHashCode();
			}
			if (this.LGCHOINHLDJ != 0)
			{
				num ^= this.LGCHOINHLDJ.GetHashCode();
			}
			if (this.energyInfo_ != null)
			{
				num ^= this.EnergyInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.chargerInfo_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600534A RID: 21322 RVA: 0x000E1706 File Offset: 0x000DF906
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600534B RID: 21323 RVA: 0x000E170E File Offset: 0x000DF90E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600534C RID: 21324 RVA: 0x000E1718 File Offset: 0x000DF918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FPHPEJPOBGJ != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.FPHPEJPOBGJ);
			}
			if (this.LGCHOINHLDJ != 0)
			{
				output.WriteRawTag(56);
				output.WriteInt32(this.LGCHOINHLDJ);
			}
			if (this.JOBJHNJJNDI)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.JOBJHNJJNDI);
			}
			this.rotaterDataList_.WriteTo(ref output, GetMapRotationDataScRsp._repeated_rotaterDataList_codec);
			if (this.energyInfo_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.EnergyInfo);
			}
			if (this.rogueMap_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.RogueMap);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			this.chargerInfo_.WriteTo(ref output, GetMapRotationDataScRsp._repeated_chargerInfo_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600534D RID: 21325 RVA: 0x000E1804 File Offset: 0x000DFA04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.JOBJHNJJNDI)
			{
				num += 2;
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FPHPEJPOBGJ);
			}
			num += this.rotaterDataList_.CalculateSize(GetMapRotationDataScRsp._repeated_rotaterDataList_codec);
			if (this.rogueMap_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueMap);
			}
			if (this.LGCHOINHLDJ != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.LGCHOINHLDJ);
			}
			if (this.energyInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.EnergyInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.chargerInfo_.CalculateSize(GetMapRotationDataScRsp._repeated_chargerInfo_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600534E RID: 21326 RVA: 0x000E18D4 File Offset: 0x000DFAD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetMapRotationDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.JOBJHNJJNDI)
			{
				this.JOBJHNJJNDI = other.JOBJHNJJNDI;
			}
			if (other.FPHPEJPOBGJ != 0U)
			{
				this.FPHPEJPOBGJ = other.FPHPEJPOBGJ;
			}
			this.rotaterDataList_.Add(other.rotaterDataList_);
			if (other.rogueMap_ != null)
			{
				if (this.rogueMap_ == null)
				{
					this.RogueMap = new NewMapRot();
				}
				this.RogueMap.MergeFrom(other.RogueMap);
			}
			if (other.LGCHOINHLDJ != 0)
			{
				this.LGCHOINHLDJ = other.LGCHOINHLDJ;
			}
			if (other.energyInfo_ != null)
			{
				if (this.energyInfo_ == null)
				{
					this.EnergyInfo = new RotaterEnergyInfo();
				}
				this.EnergyInfo.MergeFrom(other.EnergyInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.chargerInfo_.Add(other.chargerInfo_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600534F RID: 21327 RVA: 0x000E19C6 File Offset: 0x000DFBC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005350 RID: 21328 RVA: 0x000E19D0 File Offset: 0x000DFBD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num <= 56U)
					{
						if (num == 40U)
						{
							this.FPHPEJPOBGJ = input.ReadUInt32();
							continue;
						}
						if (num == 56U)
						{
							this.LGCHOINHLDJ = input.ReadInt32();
							continue;
						}
					}
					else
					{
						if (num == 64U)
						{
							this.JOBJHNJJNDI = input.ReadBool();
							continue;
						}
						if (num == 74U)
						{
							this.rotaterDataList_.AddEntriesFrom(ref input, GetMapRotationDataScRsp._repeated_rotaterDataList_codec);
							continue;
						}
					}
				}
				else if (num <= 90U)
				{
					if (num == 82U)
					{
						if (this.energyInfo_ == null)
						{
							this.EnergyInfo = new RotaterEnergyInfo();
						}
						input.ReadMessage(this.EnergyInfo);
						continue;
					}
					if (num == 90U)
					{
						if (this.rogueMap_ == null)
						{
							this.RogueMap = new NewMapRot();
						}
						input.ReadMessage(this.RogueMap);
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 106U)
					{
						this.chargerInfo_.AddEntriesFrom(ref input, GetMapRotationDataScRsp._repeated_chargerInfo_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002087 RID: 8327
		private static readonly MessageParser<GetMapRotationDataScRsp> _parser = new MessageParser<GetMapRotationDataScRsp>(() => new GetMapRotationDataScRsp());

		// Token: 0x04002088 RID: 8328
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002089 RID: 8329
		public const int JOBJHNJJNDIFieldNumber = 8;

		// Token: 0x0400208A RID: 8330
		private bool jOBJHNJJNDI_;

		// Token: 0x0400208B RID: 8331
		public const int FPHPEJPOBGJFieldNumber = 5;

		// Token: 0x0400208C RID: 8332
		private uint fPHPEJPOBGJ_;

		// Token: 0x0400208D RID: 8333
		public const int RotaterDataListFieldNumber = 9;

		// Token: 0x0400208E RID: 8334
		private static readonly FieldCodec<RotaterData> _repeated_rotaterDataList_codec = FieldCodec.ForMessage<RotaterData>(74U, RotaterData.Parser);

		// Token: 0x0400208F RID: 8335
		private readonly RepeatedField<RotaterData> rotaterDataList_ = new RepeatedField<RotaterData>();

		// Token: 0x04002090 RID: 8336
		public const int RogueMapFieldNumber = 11;

		// Token: 0x04002091 RID: 8337
		private NewMapRot rogueMap_;

		// Token: 0x04002092 RID: 8338
		public const int LGCHOINHLDJFieldNumber = 7;

		// Token: 0x04002093 RID: 8339
		private int lGCHOINHLDJ_;

		// Token: 0x04002094 RID: 8340
		public const int EnergyInfoFieldNumber = 10;

		// Token: 0x04002095 RID: 8341
		private RotaterEnergyInfo energyInfo_;

		// Token: 0x04002096 RID: 8342
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04002097 RID: 8343
		private uint retcode_;

		// Token: 0x04002098 RID: 8344
		public const int ChargerInfoFieldNumber = 13;

		// Token: 0x04002099 RID: 8345
		private static readonly FieldCodec<ChargerInfo> _repeated_chargerInfo_codec = FieldCodec.ForMessage<ChargerInfo>(106U, EggLink.DanhengServer.Proto.ChargerInfo.Parser);

		// Token: 0x0400209A RID: 8346
		private readonly RepeatedField<ChargerInfo> chargerInfo_ = new RepeatedField<ChargerInfo>();
	}
}
